﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WindowsFormsFlower.Model;

namespace WindowsFormsFlower
{
    public class FlowerApp
    {
        private static FlowerApp _instance;
        public int MoveValue { get; set; }
        public CurrentState FormState;
        public CurrentModel FormModel;
        public List<string> labelList;
        public List<Color> lightColors;
        public List<FormLabel> formLabelList;

        private FlowerApp()
        {
            MoveValue = 1;
            FormState = CurrentState.None;
            lightColors = new List<Color>(){
            Color.LavenderBlush,        // 薰衣草紫
            Color.MistyRose,            // 雾玫瑰色
            Color.LightPink,            // 浅粉色
            Color.Pink,                 // 粉色
            Color.PaleVioletRed,        // 淡紫红色
            Color.LightCoral,           // 浅珊瑚色
            Color.LightSalmon,          // 浅鲑鱼色
            Color.Thistle,              // 蓟色
            Color.Plum,                 // 李子色
            Color.Lavender,             // 薰衣草色
            };
            labelList = new List<string>();
        }

        public static FlowerApp Instance
        {
            get
            {
                if (_instance == null)
                {
                    _instance = new FlowerApp();
                }
                return _instance;
            }
        }
        public void InitSingle()
        {
            var app = FlowerApp.Instance;
            
        }
    }
}
